package com.jvm.vm;


import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.locks.ReentrantLock;

/**
 * <p>
 *
 * </p>
 *
 * @author qingshan
 * @since 2020-10-27 16:00
 */
public class VmDemo1 {

    public static void main(String[] args) throws InterruptedException {

        ReentrantLock lock = new ReentrantLock();
        lock.lock();
        Thread.sleep(5000);
        List<String> strs = new ArrayList<>();
        for(int i = 0; i < 1000000000; i++){
            strs.add("qqqaaaqqq");
        }
    }
}
